//
//  FotoView.h
//  iDent
//
//  Created by Marius Corega on 6/10/09.
//  Copyright 2009 Marius Corega. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "Foto.h"

@class Controller;

@interface FotoView : NSView {

	Foto *foto;
	NSMutableArray *fotos;
	BOOL isSelected;
	BOOL isHovered;
	
	NSInteger index;
}

@property (readwrite, assign) Foto *foto;
@property (readwrite, assign) NSMutableArray *fotos;
@property (readwrite) NSInteger index;

-(void)loadFotos;

-(void) setImage:(NSImage*)img;
-(void) setThumb:(NSImage*)img;
-(void) showThumb;

@end
